package fina2.dcs.metadata;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "IN_MDT_NODES")
@SuppressWarnings("serial")
public class MDTNode implements Serializable {
	private int id;
	private String code;
	private int nameStrId;
	private int parentId;
	private int type;
	private int dataType;
	private String equation;
	private int sequence;
	private int evalMethod;
	private int disabled;
	private int required;

	@Id
	@Column(name = "ID")
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column(name = "CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "NAMESTRID")
	public int getNameStrId() {
		return nameStrId;
	}

	public void setNameStrId(int nameStrId) {
		this.nameStrId = nameStrId;
	}

	@Column(name = "PARENTID")
	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	@Column(name = "TYPE")
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	@Column(name = "DATATYPE")
	public int getDataType() {
		return dataType;
	}

	public void setDataType(int dataType) {
		this.dataType = dataType;
	}

	@Column(name = "EQUATION")
	public String getEquation() {
		return equation;
	}

	public void setEquation(String equation) {
		this.equation = equation;
	}

	@Column(name = "SEQUENCE")
	public int getSequence() {
		return sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	@Column(name = "EVALMETHOD")
	public int getEvalMethod() {
		return evalMethod;
	}

	public void setEvalMethod(int evalMethod) {
		this.evalMethod = evalMethod;
	}

	@Column(name = "DISABLED")
	public int getDisabled() {
		return disabled;
	}

	public void setDisabled(int disabled) {
		this.disabled = disabled;
	}

	@Column(name = "REQUIRED")
	public int getRequired() {
		return required;
	}

	public void setRequired(int required) {
		this.required = required;
	}
}
